package com.guodu.vo;

import java.text.DecimalFormat;

import com.guodu.entity.Contract;


public class ContractVo {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private Contract contract;
	
	private String unitsName;
	
	private String unitsLevel;
	
	private String funitsName;
	
	private Long unitsId;
	
	private Long funitsId;
	
	private String industry;
	
	private String userName;
	
	private String contractMoney;
	
	private String allMoney1;
	
    private String allMoney2;
	


	public ContractVo(){
		
	}
	
	public ContractVo(Contract contract){
		DecimalFormat df = new DecimalFormat("##,###.##");
		this.contractMoney = df.format(contract.getContractMoney());
		this.contract = contract;
	}
	
	public String getUnitsName() {
		return unitsName;
	}

	
	
	public Long getUnitsId() {
		return unitsId;
	}

	public void setUnitsId(Long unitsId) {
		this.unitsId = unitsId;
	}

	public Long getFunitsId() {
		return funitsId;
	}

	public void setFunitsId(Long funitsId) {
		this.funitsId = funitsId;
	}

	public void setUnitsName(String unitsName) {
		this.unitsName = unitsName;
	}

	public String getFunitsName() {
		return funitsName;
	}

	public void setFunitsName(String funitsName) {
		this.funitsName = funitsName;
	}

	public Contract getContract() {
		return contract;
	}

	public void setContract(Contract contract) {
		this.contract = contract;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getIndustry() {
		return industry;
	}

	public void setIndustry(String industry) {
		this.industry = industry;
	}
	
	

	public String getUnitsLevel() {
		return unitsLevel;
	}

	public void setUnitsLevel(String unitsLevel) {
		this.unitsLevel = unitsLevel;
	}

	public String getContractMoney() {
		return contractMoney;
	}

	public void setContractMoney(String contractMoney) {
		this.contractMoney = contractMoney;
	}

	public String getAllMoney1() {
		return allMoney1;
	}

	public void setAllMoney1(String allMoney1) {
		this.allMoney1 = allMoney1;
	}

	public String getAllMoney2() {
		return allMoney2;
	}

	public void setAllMoney2(String allMoney2) {
		this.allMoney2 = allMoney2;
	}
	
	

}
